//
//  DHDetailsVC.h
//  NavigationDemo
//
//  Created by 商广硕 on 2022/7/9.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
//1.声明协议
@protocol DHDetailsVCDelegate
  
@optional
//反向传值 定义方法
-(void)showViewGiveValue:(NSString *)text;
@end


@interface DHDetailsVC : UIViewController

//正向传值属性
@property(nonatomic,copy) NSString *listText;

////2.声明delegate属性
@property (nonatomic,assign)id delegate;

@end

NS_ASSUME_NONNULL_END
